package cn.tedu.study.videomodel.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class Video {
    private Integer id;
    private String title;
    private Integer level;
    private Integer parentId;
    private String brief;
    private String videoUrl;
    private Integer subjectId;
    private String cover;
    private Long playCount;
    private Long contentCount;
    private Long upvoteCount;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
    private Integer userId;


}
